package com.sky.config;

import com.sky.vo.EmployeeLoginVO;

public class EmployeeLoginVOBuilder {

    private EmployeeLoginVO vo=new EmployeeLoginVO();

    public static EmployeeLoginVOBuilder builder(){
        return new EmployeeLoginVOBuilder();
    }

    public EmployeeLoginVOBuilder basic(String name,String userName){
        this.vo.setName(name);
        this.vo.setUserName(userName);
        return this;
    }

    public EmployeeLoginVOBuilder more(Long id,String token){
        this.vo.setId(id);
        this.vo.setToken(token);
        return this;
    }

    public EmployeeLoginVO build(){
        return this.vo;
    }

}
